.layout-main {
    height: 100%;
    position: relative;
    pointer-events: none;
    z-index: 998;
}
.page-wrap {
    margin: 8px auto 0;
    max-width: 1024px;
    padding: 0 8px 42px;
    height: 100%;
}
.editor-page {
    width: 1008px;
    background: #fff;
    border-radius: 8px;
}
.page-content {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}
.editor-header {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 24px;
    border-bottom: 1px solid #ebedf0;
}
.editor-header .editor-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #12141a;
}

.editor-body{
    padding: 0 24px;
    min-height: calc(100vh - 226px);
    display: flex;
    flex-direction: column;
}
.editor-title-input {
    display: flex;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #ebedf0;
}
.editor-title-input>input {
    width: 90%;
    border: 0;
    height: 40px;
    outline: none;
    font-size: 24px;
    font-weight: 500;
}

.editor-title-input>div.count {
    margin-left: auto;
    color: #a8adb4;
}
.editor-title-input>div.count span:first-child {
    color: #45474d;
}
.editor-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rich-text-editor {
    position: relative;
    max-width: 100%;
    min-width: 640px;
    background: #fff;
    padding-top: 8px;
    padding-bottom: 46px;
    border-bottom: 1px solid #e8eaeb;
}
.rich-text-editor .quill-editor {
    position: relative;
}

.rich-text-editor .ql-container {
    min-height: 240px;
    overflow: auto;
}
.rich-text-editor .ql-snow {
    border: none!important;
}

.ql-container {
    box-sizing: border-box;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 13px;
    height: 100%;
    margin: 0;
    position: relative;
}

.rich-text-editor .ql-container .ql-editor {
    font-size: 16px;
    min-height: 240px;
    padding: 0!important;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
}
.ql-editor {
    box-sizing: border-box;
    line-height: 1.42;
    height: 100%;
    outline: none;
    overflow-y: auto;
    padding: 12px 15px;
    tab-size: 4;
    -moz-tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.rich-text-editor .ql-container .ql-editor p {
    color: #232832;
    line-height: 28px;
}
.rich-text-editor .count-total {
    position: absolute;
    bottom: 16px;
    right: 0;
    display: inline-block;
    padding: 0;
    background: #fff;
    font-size: 16px;
    line-height: 22px;
}
.rich-text-editor .count-total .default {
    color: #5c5e66;
}
.text-gray {
    color: #9fa3b0;
}

.editor-body .editor-footer{
    position: relative;
    display: flex;
    padding: 16px 0 24px;
}
.editor-body .editor-footer .publish {
    margin-left: auto;
    padding: 8px 0 0;
}
.editor-footer .publish .reply-btn {
    cursor: pointer;
    border-radius: 4px;
    background: #00b8bf;
    transition: all .2s ease-in-out;
    height: 36px;
    border: none;
    color: #fff;
    padding: 0 24px;
    margin-left: 24px;
    white-space: nowrap;
}